import React from 'react';
import './home.css';
import { Link } from 'react-router-dom';
import {Button} from 'antd';
import gp from '@/assets/1.png'

const IndexPage: React.FC = () => {
    return (
        <div className="home-content">
            <h1>欢迎</h1>
            <img src={gp} className="logo" />
            <div className="button-container">
                <Link to="/login">
                    <Button className="home-button"  type="primary">登录</Button>
                </Link>
            </div>
        </div>
    );
};

export default IndexPage;
